﻿@{
    Script.Require("ShapesBase");
    Style.Include("site.css");
    Script.Include("slide.js").AtHead();
    Func<dynamic, dynamic> Zone = x => Display(x);
    Model.Id = "layout-wrapper";
    var tag = Tag(Model, "div");
    var homeUrl = Href("~/"); 
}

<div id="main">
    <div class="clear">
    </div>
    
        <a href="@homeUrl">
  <div id="wrap"></div>
        </a>
    
    @if (Model.Navigation != null)
    {
        <div id="navigation">
            @Zone(Model.Navigation)
        </div>
    }
    @if (Model.AsideSecond != null)
    {
        
        <aside id="shoppingCart" class="aside-second">
        @Zone(Model.AsideSecond)
    </aside>
    }
    
   <div id="user-display">
    @if (WorkContext.CurrentUser != null) {
        <span class="user-actions welcome">
            @T("Welcome, <strong>{0}</strong>!", new HtmlString(Html.ActionLink( WorkContext.CurrentUser.UserName, "ChangePassword", new { Controller = "Account", Area = "Orchard.Users" }).ToString()))
        </span>
        <span class="user-actions">
            @Html.ActionLink(T("Sign Out").ToString(), "LogOff", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = Context.Request.RawUrl }, new { rel = "nofollow" })
            @if (AuthorizedFor(Orchard.Security.StandardPermissions.AccessAdminPanel)) {
                @Html.ActionLink(T("Dashboard").ToString(), "Index", new {Area = "Dashboard", Controller = "Admin"})
            }
        </span>
    } else {
        <span class="user-actions">@Html.ActionLink(T("Sign In").ToString(), "LogOn", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = (Request.QueryString["ReturnUrl"] ?? Request.RawUrl) }, new { rel = "nofollow" })</span>
    }
</div> 

    <div class="clear">
        @if (Model.Messages != null)
        {
            <div id="messages">
                @Zone(Model.Messages)
            </div>
        }
    </div>
    @if (Model.Content != null)
    {
        <div id="content">
            @Zone(Model.Content)
        </div>
    }
    <div class="clear">
    </div>
</div>
<div id="footer">
    <div id="firstFooterDivDuo">
        <h3>
            The Danger may include the will to stay in the dream</h3>
    </div>
    <div id="firstFooterDiv">
        
        <p>Our experts are able to replicate the dreamstate produced in the movie Inception. With the correct combination of machinery, books, professional assistance and drugs you can live out any dream you may have.<br />*(Note that all our drugs are safe to use and FDA approved)</p>
       
    </div>
</div>
<div id="footer2">
    <div id="foot2wraper">
        <div id="footIcons">
            <ul>
                <li><a href="http://www.facebook.com/"><span id="faceImg"></span></a></li>
                <li><a href="http://twitter.com/"><span id="twitImg"></span></a></li>
                <li><a href="http://www.myspace.com/"><span id="mySpaImg"></span></a></li>
            </ul>
        </div>
        <h4>
            Contact Us</h4>
        <div id="secFooterDiv">
            <ul>
                <li><span id="emailImg"></span></li>
                <li class="linkList">Email:<a href="mailto:somth@gmail.com">dreamStore@gmail.com</a></li>
                <li><span id="messangerImg"></span></li>
                <li class="linkList">Yahoo Messanger:<a href="ymsgr:sendim?angeldeykov">Dream Store</a></li>
            </ul>
        </div>
    </div>

</div>
